import { h } from './src/h';
import { createElement } from './src/element'
import { mount } from './src/mount'
const vnode1 = h('ul', { style: { 'fontSize': '24px', 'color': 'red' }, "data-index": 12 }, h('ul', {}, [h('li', {}, 'a'), h('li', {}, 'b'), h('li', { id: 'list' }, 'c')],));
const vnode2 = h('ul', { style: {}, "data-index": 12 }, 'ss')
const app: Element = document.getElementById('app')
mount(app, vnode1);
mount(document.getElementById('list'), vnode2);

